package com.gestocasa.dao;

import java.util.Vector;

import com.gestocasa.model.LoggerRegisters;
import com.gestocasa.model.Scheme;

public abstract class BaseDAO {
	
	public BaseDAO() {}
	
	public abstract boolean open();
	public abstract boolean close();
	public abstract boolean isOpened();
	
	public abstract Scheme loadSchemeData() throws DAOException;
	public abstract boolean saveSchemeData(Scheme scheme) throws DAOException;
	public abstract Vector<LoggerRegisters> loadRegistersData(Scheme scheme) throws DAOException;
	public abstract boolean saveRegistersData(Scheme scheme, Vector<LoggerRegisters> registers) throws DAOException;
	
}
